import request from "../utils/request"

export function getShuiKuData() {
    return request({
        url:'api3'
    })
}

/**{
  "id": "5403",
  "eight_water": "1",
  "kurong": "0.06",
  "dayrain": "22"
} */ 
/**
 * 
 * @param {*} id      
 * @param {*} eight_water  水位
 * @param {*} kurong   当前水位的库容
 * @param {*} dayrain  日雨量
 * @returns  {"code": 0,"msg": "成功"}
 */
export function upShuiKuData(data) {
    return request({
        url: 'api4',
        method: "POST",
        data
    })
}